package com.richman.ps38.entity;

import java.util.HashMap;
import java.util.Map;

import com.richman.utils.Common;

public class BetAdyData {
	
	public String currenttime = "";
	
	public String league = "";

	public String teams = "";
	public String time = "";
	public String ticketid = ""; 
	public String hgeventid = "";
	public String gid = "";
	
	public String bettype = "";
	
	public String betpankou = "";
	
	public String mergeratio = "";
	
	public String hgbettype = "";
	public String hgbettime = "";
	public String hgbetgold = "";
	public String hgbetres = "";
	
	
	public String ps38eventid = "";
	
	public String wagerId = "";
	
	





	public String ps38bettype = "";
	//public String ps38bettime = "";
	public String ps38betres = "";
	
	public String ps38betgold = "";
	
	
	public String score = "";
	
	public String ps38rebetflag = "";
	
	public String hgps38 = "";
	
	
	public BetAdyData(String str) {
		
		Map<String, String> map = (Map<String, String>)Common.getValue(str);
		
		currenttime = map.get("currenttime");
		
		league = map.get("league");
		
		teams = map.get("teams");
		time = map.get("time");
		ticketid = map.get("ticketid");
		hgeventid = map.get("hgeventid");
		gid = map.get("gid");
			
		bettype = map.get("bettype");
			
		betpankou = map.get("betpankou");
		
		mergeratio = map.get("mergeratio");
			
		hgbettype = map.get("hgbettype");
		hgbettime = map.get("hgbettime");
		hgbetgold = map.get("hgbetgold");
		hgbetres = map.get("hgbetres");
			
			
		ps38eventid = map.get("ps38eventid");
			
		wagerId = map.get("wagerId");
		
		ps38bettype = map.get("ps38bettype");
		//ps38bettime = map.get("ps38bettime");
		ps38betres = map.get("ps38betres");
		
		ps38betgold = map.get("ps38betgold");
		
		score = map.get("score");
		
		ps38rebetflag = map.get("ps38rebetflag");
		hgps38 = map.get("hgps38");
	}

	public BetAdyData() {
		
	}
	
	
	
	
	@Override
	public String toString() {
		return "{currenttime=" + currenttime+  ",league=" + league + ",teams=" + teams + ",time=" + time + ",ticketid=" + ticketid
				+ ",hgeventid=" + hgeventid + ",gid=" + gid + ",bettype=" + bettype + ",betpankou=" + betpankou + ",mergeratio=" + mergeratio
				+ ",hgbettype=" + hgbettype + ",hgbettime=" + hgbettime + ",hgbetgold=" + hgbetgold + ",hgbetres="
				+ hgbetres + ",ps38eventid=" + ps38eventid + ",wagerId=" + wagerId + ",ps38bettype=" + ps38bettype
				+  ",ps38betres=" + ps38betres + ",ps38betgold=" + ps38betgold +  ",score=" + score +   ",ps38rebetflag=" + ps38rebetflag + ",hgps38=" + hgps38 + "}";
	}
	 
}
